package com.zr.util;

public enum InquiryStatusEnum {
    DDD("未报价",40),AFFF("已保存",10),DGG("已提交",20),DDDS("已审核",30),DDS("已作废",50);
    private InquiryStatusEnum(String label, int value) {
        this.label = label;
        this.value = value;
    }

    private String label;
    private int value;

    public static String getLabel(int value) {
        for (InquiryStatusEnum t: InquiryStatusEnum.values()) {
            if(t.getValue()==value){
                return t.label;
            }
        }
        return null;
    }
    public String getLabel(){
        return label;
    }
    public void setLabel(String label){
        this.label=label;
    }
    public Integer getValue(){
        return value;
    }
    public void setValue(int value){
        this.value=value;
    }
}
